﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" xmlns:ic="clr-namespace:Microsoft.Expression.Interactivity.Core;assembly=Microsoft.Expression.Interactions" xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input" xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls" xmlns:inputToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Input.Toolkit" xmlns:System="clr-namespace:System;assembly=mscorlib" x:Class="SilverCheques.MainPage"
    d:DesignWidth="640" d:DesignHeight="480">
	<UserControl.Resources>
		<Storyboard x:Name="ShowSelectedCheque">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="tabControl" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="-0.002"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.6000000" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="tabControl" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.002"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.6000000" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="tabControl" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="146.493"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.6000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="tabControl" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="124.432"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.6000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="tabControl" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="-90"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.6000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="AddNewCheque">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="tabControl" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="89.802"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.7000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="tabControl" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="186.227"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.7000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="tabControl" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="224.731"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.7000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="tabControl" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="-0.069"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.7000000" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="tabControl" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.069"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.7000000" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="SaveChequeBegin">
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="btnSaveCheque" Storyboard.TargetProperty="(Control.IsEnabled)">
				<DiscreteObjectKeyFrame KeyTime="00:00:00">
					<DiscreteObjectKeyFrame.Value>
						<System:Boolean>False</System:Boolean>
					</DiscreteObjectKeyFrame.Value>
				</DiscreteObjectKeyFrame>
			</ObjectAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="tabControl" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.7000000" Value="204.687"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="tabControl" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.7000000" Value="0.046"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="tabControl" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.7000000" Value="0.064"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="tabControl" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.7000000" Value="172"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="tabControl" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.7000000" Value="41.5"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="SaveChequeEnd">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="tabControl" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="-132.66"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.7000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="tabControl" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.069"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.7000000" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="tabControl" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0.052"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.7000000" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="tabControl" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="199"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.7000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="tabControl" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="49"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.7000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
			<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="btnSaveCheque" Storyboard.TargetProperty="(Control.IsEnabled)">
				<DiscreteObjectKeyFrame KeyTime="00:00:00">
					<DiscreteObjectKeyFrame.Value>
						<System:Boolean>False</System:Boolean>
					</DiscreteObjectKeyFrame.Value>
				</DiscreteObjectKeyFrame>
				<DiscreteObjectKeyFrame KeyTime="00:00:00.7000000">
					<DiscreteObjectKeyFrame.Value>
						<System:Boolean>True</System:Boolean>
					</DiscreteObjectKeyFrame.Value>
				</DiscreteObjectKeyFrame>
			</ObjectAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>
  <Grid x:Name="LayoutRoot">

  	<Grid.RowDefinitions>
  		<RowDefinition Height="0.154*"/>
  		<RowDefinition Height="0.712*"/>
  		<RowDefinition Height="0.133*"/>
  	</Grid.RowDefinitions>
  	<Grid.ColumnDefinitions>
  		<ColumnDefinition Width="0.156*"/>
  		<ColumnDefinition Width="0.458*"/>
  		<ColumnDefinition Width="0.386*"/>
  	</Grid.ColumnDefinitions>
  	<Rectangle Stroke="Black" Margin="0,0,0,8" Grid.ColumnSpan="3" Grid.RowSpan="3">
  		<Rectangle.Effect>
  			<DropShadowEffect/>
  		</Rectangle.Effect>
  		<Rectangle.Fill>
  			<LinearGradientBrush EndPoint="0.049,0.954" StartPoint="0.977,0.044">
  				<GradientStop Color="Silver" Offset="0"/>
  				<GradientStop Color="Gray" Offset="1"/>
  			</LinearGradientBrush>
  		</Rectangle.Fill>
  		<i:Interaction.Triggers>
  			<i:EventTrigger EventName="MouseLeftButtonDown">
  				<ic:HyperlinkAction/>
  			</i:EventTrigger>
  		</i:Interaction.Triggers>
  	</Rectangle>
  	<ListBox x:Name="lstCustomers" Grid.Column="2" Grid.Row="1" Margin="4,0,0,8" SelectionChanged="lstCustomers_SelectionChanged">
  		<ListBox.Effect>
  			<DropShadowEffect/>
  		</ListBox.Effect>
  		<ListBox.Background>
  			<LinearGradientBrush EndPoint="0.947,0.954" StartPoint="-0.001,0.001">
  				<GradientStop Color="Silver" Offset="0"/>
  				<GradientStop Color="Gray" Offset="1"/>
  			</LinearGradientBrush>
  		</ListBox.Background>
  	</ListBox>
  	<TextBlock x:Name="txtError" VerticalAlignment="Top" Grid.Column="1" Grid.Row="1" TextWrapping="Wrap" d:LayoutOverrides="Width" Height="50" Margin="0,292,0,0" Foreground="Red"/>
  	<Button x:Name="btnAddNew" HorizontalAlignment="Left" Margin="4,-4,0,0" Width="72" Content="Add New..." Grid.Column="2" Height="19" VerticalAlignment="Top" Grid.Row="2">
  		<Button.Effect>
  			<DropShadowEffect/>
  		</Button.Effect>
  		<Button.Foreground>
  			<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
  				<GradientStop Color="Black" Offset="0"/>
  				<GradientStop Color="Gray" Offset="1"/>
  			</LinearGradientBrush>
  		</Button.Foreground>
  		<Button.Background>
  			<LinearGradientBrush EndPoint="0.168,0.807" StartPoint="0.813,0.346">
  				<GradientStop Color="Black" Offset="0"/>
  				<GradientStop Color="Gray" Offset="1"/>
  			</LinearGradientBrush>
  		</Button.Background>
  	</Button>
  	<StackPanel Margin="0,0,0,19" Grid.Column="1" Height="47" VerticalAlignment="Bottom" Orientation="Horizontal">
  		<StackPanel.Effect>
  			<DropShadowEffect/>
  		</StackPanel.Effect>
  		<StackPanel.Background>
  			<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
  				<GradientStop Color="Silver" Offset="0"/>
  				<GradientStop Color="Gray" Offset="1"/>
  			</LinearGradientBrush>
  		</StackPanel.Background>
  		<Button x:Name="btnHelp" Height="34" HorizontalAlignment="Left" Width="98" Content="Help" Click="btnHelp_Click">
  			<Button.Effect>
  				<DropShadowEffect/>
  			</Button.Effect>
  			<Button.Foreground>
  				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
  					<GradientStop Color="Black" Offset="0"/>
  					<GradientStop Color="Gray" Offset="1"/>
  				</LinearGradientBrush>
  			</Button.Foreground>
  			<Button.Background>
  				<LinearGradientBrush EndPoint="0.228,0.844" StartPoint="0.713,0.522">
  					<GradientStop Color="#FFE5E4E2" Offset="0"/>
  					<GradientStop Color="Gray" Offset="1"/>
  				</LinearGradientBrush>
  			</Button.Background>
  		</Button>
  		<Button x:Name="btnSaveCheque" Height="34" HorizontalAlignment="Left" Width="98" Content="Save"  Margin="0,7,0,6">
  			<Button.Effect>
  				<DropShadowEffect/>
  			</Button.Effect>
  			<Button.Foreground>
  				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
  					<GradientStop Color="Black" Offset="0"/>
  					<GradientStop Color="Gray" Offset="1"/>
  				</LinearGradientBrush>
  			</Button.Foreground>
  			<Button.Background>
  				<LinearGradientBrush EndPoint="0.228,0.844" StartPoint="0.713,0.522">
  					<GradientStop Color="#FFE5E4E2" Offset="0"/>
  					<GradientStop Color="Gray" Offset="1"/>
  				</LinearGradientBrush>
  			</Button.Background>
  		</Button>
  	</StackPanel>
  	<Button x:Name="btnDelete" HorizontalAlignment="Right" Margin="0,-4,0,0" Width="72" Content="Delete..." Grid.Column="2" Height="19" VerticalAlignment="Top" Grid.Row="2">
  		<Button.Foreground>
  			<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
  				<GradientStop Color="Black" Offset="0"/>
  				<GradientStop Color="Gray" Offset="1"/>
  			</LinearGradientBrush>
  		</Button.Foreground>
  		<Button.Background>
  			<LinearGradientBrush EndPoint="0.168,0.807" StartPoint="0.813,0.346">
  				<GradientStop Color="Black" Offset="0"/>
  				<GradientStop Color="Gray" Offset="1"/>
  			</LinearGradientBrush>
  		</Button.Background>
  		<Button.Effect>
  			<DropShadowEffect/>
  		</Button.Effect>
  	</Button>
  	<StackPanel Height="47" Margin="0,0,0,50" VerticalAlignment="Bottom" Grid.Column="1" Orientation="Horizontal" Grid.Row="1" d:LayoutOverrides="VerticalAlignment">
  		<StackPanel.Effect>
  			<DropShadowEffect/>
  		</StackPanel.Effect>
  		<StackPanel.Background>
  			<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
  				<GradientStop Color="Silver" Offset="0"/>
  				<GradientStop Color="Gray" Offset="1"/>
  			</LinearGradientBrush>
  		</StackPanel.Background>
  		<Button x:Name="btnSaveTextFile" Height="21" Content="Save Merge File" VerticalAlignment="Top" Width="99" d:LayoutOverrides="Height">
  			<Button.Effect>
  				<DropShadowEffect/>
  			</Button.Effect>
  		</Button>
  		<Button x:Name="btnSaveDocFile" Height="21" Content="Save Layout File" Click="btn1_Click" IsEnabled="False" VerticalAlignment="Top" Width="99">
  			<Button.Effect>
  				<DropShadowEffect/>
  			</Button.Effect>
  		</Button>
  		<Button x:Name="btnOpenDocument" Height="21" Content="Open Layout File" Click="btnOpenDocument_Click" VerticalAlignment="Top" d:LayoutOverrides="Height">
  			<Button.Effect>
  				<DropShadowEffect/>
  			</Button.Effect>
  		</Button>
  	</StackPanel>
  	<controls:TabControl x:Name="tabControl" Margin="0,0,0,97" Grid.Column="1" Grid.Row="1" RenderTransformOrigin="0.5,0.5">
  		<controls:TabControl.RenderTransform>
  			<TransformGroup>
  				<ScaleTransform/>
  				<SkewTransform/>
  				<RotateTransform/>
  				<TranslateTransform/>
  			</TransformGroup>
  		</controls:TabControl.RenderTransform>
  		<controls:TabControl.Effect>
  			<DropShadowEffect/>
  		</controls:TabControl.Effect>
  		<controls:TabControl.Background>
  			<LinearGradientBrush EndPoint="0.94,0.932" StartPoint="0.031,0.024">
  				<GradientStop Color="Silver" Offset="0"/>
  				<GradientStop Color="Gray" Offset="1"/>
  			</LinearGradientBrush>
  		</controls:TabControl.Background>
  		<controls:TabItem Header="Customer Info">
  			<controls:TabItem.Effect>
  				<DropShadowEffect/>
  			</controls:TabItem.Effect>
  			<controls:TabItem.Background>
  				<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
  					<GradientStop Color="Olive" Offset="0"/>
  					<GradientStop Color="Green" Offset="1"/>
  				</LinearGradientBrush>
  			</controls:TabItem.Background>
  			<Grid>
  				<TextBox x:Name="dfsCustomerName" Margin="88,0,0,0" VerticalAlignment="Top" TextWrapping="Wrap" LostFocus="dfsCustomerName_LostFocus" Text="{Binding CustomerName, Mode=TwoWay}">
  					<TextBox.Effect>
  						<DropShadowEffect/>
  					</TextBox.Effect>
  				</TextBox>
  				<dataInput:Label Content="Name:" Height="24" Margin="0,0,197,0" VerticalAlignment="Top"/>
  				<TextBox x:Name="dfsCustomerAddress1" Margin="88,28,0,0" VerticalAlignment="Top" TextWrapping="Wrap" Text="{Binding CustomerAddress1, Mode=TwoWay}">
  					<TextBox.Effect>
  						<DropShadowEffect/>
  					</TextBox.Effect>
  				</TextBox>
  				<dataInput:Label Content="Address 1:" Margin="0,28,197,0" Height="24" VerticalAlignment="Top" d:LayoutOverrides="VerticalAlignment"/>
  				<TextBox x:Name="dfsCustomerAddress2" Margin="88,56,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Text="{Binding CustomerAddress2, Mode=TwoWay}">
  					<TextBox.Effect>
  						<DropShadowEffect/>
  					</TextBox.Effect>
  				</TextBox>
  				<dataInput:Label x:Name="label" Content="Address 2:" Margin="0,56,197,0" Height="24" VerticalAlignment="Top" d:LayoutOverrides="VerticalAlignment"/>
  				<TextBox x:Name="dfsCustomerAddress3" Margin="88,84,0,0" VerticalAlignment="Top" TextWrapping="Wrap" Text="{Binding CustomerAddress3, Mode=TwoWay}">
  					<TextBox.Effect>
  						<DropShadowEffect/>
  					</TextBox.Effect>
  				</TextBox>
  				<dataInput:Label Content="Address 3:" Margin="0,84,197,0" Height="24" VerticalAlignment="Top"/>
  				<TextBox x:Name="dfsCustomerAddress4" Margin="88,112,0,0" VerticalAlignment="Top" TextWrapping="Wrap" Text="{Binding CustomerAddress4, Mode=TwoWay}">
  					<TextBox.Effect>
  						<DropShadowEffect/>
  					</TextBox.Effect>
  				</TextBox>
  				<dataInput:Label Content="Address 4:" Margin="0,112,197,0" Height="24" VerticalAlignment="Top"/>
  				<TextBox x:Name="dfsAccountNumber" Margin="88,140,0,0" VerticalAlignment="Top" TextWrapping="Wrap" Text="{Binding AccountNumber, Mode=TwoWay}">
  					<TextBox.Effect>
  						<DropShadowEffect/>
  					</TextBox.Effect>
  				</TextBox>
  				<dataInput:Label Content="Account #:" Margin="0,140,197,0" Height="24" VerticalAlignment="Top"/>
  				<dataInput:Label Content="Serial from/to:" Margin="0,164,197,0" Height="24" VerticalAlignment="Top"/>
  				<inputToolkit:DomainUpDown x:Name="dfnSerialFrom" Margin="88,167,0,0" HorizontalAlignment="Left" Width="56" VerticalAlignment="Top" d:LayoutOverrides="Height">
  					<inputToolkit:DomainUpDown.Effect>
  						<DropShadowEffect/>
  					</inputToolkit:DomainUpDown.Effect>
  				</inputToolkit:DomainUpDown>
  				<inputToolkit:DomainUpDown x:Name="dfnSerialTo" Margin="0,167,0,0" HorizontalAlignment="Right" Width="56" VerticalAlignment="Top" d:LayoutOverrides="Height">
  					<inputToolkit:DomainUpDown.Effect>
  						<DropShadowEffect/>
  					</inputToolkit:DomainUpDown.Effect>
  				</inputToolkit:DomainUpDown>
  			</Grid>
  		</controls:TabItem>
  		<controls:TabItem Header="Bank Info" Background="Black">
  			<controls:TabItem.Effect>
  				<DropShadowEffect/>
  			</controls:TabItem.Effect>
  			<Grid>
  				<TextBox x:Name="dfsBankName" Margin="88,0,0,0" VerticalAlignment="Top" TextWrapping="Wrap" Text="{Binding BankName, Mode=TwoWay}">
  					<TextBox.Effect>
  						<DropShadowEffect/>
  					</TextBox.Effect>
  				</TextBox>
  				<dataInput:Label Content="Name:" Height="24" Margin="0,0,197,0" VerticalAlignment="Top"/>
  				<TextBox x:Name="dfsBankAddress1" Margin="88,28,0,0" VerticalAlignment="Top" TextWrapping="Wrap" Text="{Binding BankAddress1, Mode=TwoWay}">
  					<TextBox.Effect>
  						<DropShadowEffect/>
  					</TextBox.Effect>
  				</TextBox>
  				<dataInput:Label Content="Address 1:" Margin="0,28,197,0" Height="24" VerticalAlignment="Top" d:LayoutOverrides="VerticalAlignment"/>
  				<TextBox x:Name="dfsBankAddress2" Margin="88,56,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Text="{Binding BankAddress2, Mode=TwoWay}">
  					<TextBox.Effect>
  						<DropShadowEffect/>
  					</TextBox.Effect>
  				</TextBox>
  				<dataInput:Label Content="Address 2:" Margin="0,56,197,0" Height="24" VerticalAlignment="Top" d:LayoutOverrides="VerticalAlignment"/>
  				<TextBox x:Name="dfsBankAddress3" Margin="88,84,0,0" VerticalAlignment="Top" TextWrapping="Wrap"  Text="{Binding BankAddress3, Mode=TwoWay}">
  					<TextBox.Effect>
  						<DropShadowEffect/>
  					</TextBox.Effect>
  				</TextBox>
  				<dataInput:Label Content="Address 3:" Margin="0,84,197,0" Height="24" VerticalAlignment="Top"/>

  				<TextBox x:Name="dfsRoutingNumber" Margin="88,140,0,0" VerticalAlignment="Top" TextWrapping="Wrap" Text="{Binding RoutingNumber, Mode=TwoWay}">
  					<TextBox.Effect>
  						<DropShadowEffect/>
  					</TextBox.Effect>
  				</TextBox>
  				<dataInput:Label Content="Routing #:" Margin="0,140,197,0" Height="24" VerticalAlignment="Top"/>
  			</Grid>
  		</controls:TabItem>
  	</controls:TabControl>

  </Grid>
</UserControl>
